#!/usr/bin/env /Library/ringojs/bin/ringo

/**
 * @fileoverview
 * Convert soy-generated javascript templates into a form that can be loaded
 * on the server as CommonJS modules.
 */

var system = require('system');
var Parser = require('ringo/args').Parser;

var parser = new Parser(system.args);
parser.addOption('t', 'template', 'template_file',
                 'Path to a template for transformation');

print(parser.help());

var results = {};
results = parser.parse(arguments.slice(1), results);

for (var prop in results) {
  print('Argument: ' + prop + '; Value: ' + results[prop]);
};
